<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:demo="http://systinet.com/demo">
	<xsl:output method="html"/>
	<xsl:template match="/">
		<html>
			<head>
				<title>Employee List</title>
			</head>
			<body>
				<xsl:apply-templates select="demo:EmployeeList"/>
			</body>
		</html>
	</xsl:template>
	<xsl:template match="demo:EmployeeList">
		<table border="1" width="75%">
			<tr>
				<th bgcolor="#99CCCC"><b>No.</b></th>
				<th bgcolor="#99CCCC"><b>ID</b></th>
				<th bgcolor="#99CCCC"><b>Name</b></th>
			</tr>

			<xsl:for-each select="demo:Employee">
				<tr>
					<td align="right">
						<xsl:value-of select="position()"/>
					</td>
					<td align="right">
						<xsl:value-of select="attribute::id"/>
					</td>
					<td align="right">
						<xsl:value-of select="attribute::name"/>
					</td>
				</tr>
			</xsl:for-each>

		</table>
	</xsl:template>
</xsl:stylesheet>